The ImagickDraw class
PHP Manual

ImagickDraw::line

(PECL imagick 2.0.0)

ImagickDraw::lineDraws a line

Descripción

bool ImagickDraw::line ( float $sx , float $sy , float $ex , float $ey )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Draws a line on the image using the current stroke color, stroke opacity, and stroke width.

Lista de parámetros

sx

starting x coordinate

sy

starting y coordinate

ex

ending x coordinate

ey

ending y coordinate

Valores retornados

No value is returned.


The ImagickDraw class
PHP Manual